import 'package:base_flutter/base_flutter.dart';
import 'package:flutter/foundation.dart';

class Api {
  static String get base_url => kIsWeb
      ? BuildConfig.isDebug
          ? "http://localhost:4500"
          : "http://81.68.144.107:8080/api"
      : "https://xihuwenti.juyancn.cn";

  ///场馆列表
  static String get placeList =>
      "${base_url}/wechat/venue/getList?mid=0&category=12&orderBy=&orderType=asc&isCampus=0&latitude=0&longitude=0";

  ///获取场馆详情
  static String get getPlaceDetail => "${base_url}/wechat/venue/venuedetails";
}
